package com.cn.dao;

import com.cn.domain.User;
import com.cn.domain.UserAndRole;
import com.cn.domain.UserDetail;
import com.cn.jdbc.Base;

/**
 * Created by chenyuncong on 2019/9/16.
 */
public interface UserDao extends Base<User> {
    Long saveUserAndRole(UserAndRole userAndRole);
    UserDetail getUserDetail(String name) throws Exception;
}
